package com.luoqiz.demo.threadDemo;

public class Productor extends Thread {
	private Pool pool;
	Productor(String name, Pool pool) {
		this.setName(name);
		this.pool = pool;
	}
	
	public void run(){
		while(true){
			pool.add();	
		}
		
	}

}
